package br.com.covosys.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

public interface GenericDAO<BEAN extends Serializable> {
	
	public BEAN retrieve(BEAN bean) throws DAOException;

	public void save(BEAN bean) throws DAOException;
	
	public void delete(BEAN bean) throws DAOException;
	
	public List<BEAN> list() throws DAOException;
	
	public List<BEAN> list(Map<String, Object> params) throws DAOException;

}
